package com.youlu.campus.entity;

import com.youlu.campus.base.base.EntityBase;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;
import java.util.List;

/**
 * 用户黑名单
 */
@Getter
@Setter
@Document(collection = "user_black_list")
public class UserBlackList extends EntityBase {
    @Indexed
    private String userId;
    /**
     * 头像
     */
    protected String avatarUrl;
    /**
     * 昵称
     */
    protected String nickName;
    @Indexed
    private String mobile;
    private String name;
    private String desc;
    private String universityId;
    private String universityName;
    /**
     * 状态,启用,不启用
     */
    @Indexed
    private Boolean status = Boolean.TRUE;
    private String optUser;
    /**
     * 1:商户号投诉,2:钉子用户,3:卧底,4:竞争对手,5:无聊用户,6:其他,7:白嫖族,8:群刺头，
     * 9:恶意退货,10:自动注销
     */
    @Indexed
    private String type;
    /**
     * 限制类型,1:单次活动,2:所有活动
     */
    @Indexed
    private String limitType = "2";
    /**
     * 备注
     */
    private String comments;
    /**
     * 活动ID
     */
    private List<String> activityIds;
    /**
     * 操作方式,1:单次加入,2:批量导入
     */
    private String optWay = "1";
    /**
     * 操作时间
     */
    private Date optTime;
    /**
     * 批量ID
     */
    private String batchId;
    /**
     * 文件名
     */
    private String fileName;


}
